testgtk: Clean up dialog example
authorBenjamin Otte <otte@redhat.com>
Thu, 10 Apr 2014 14:07:05 +0000 (16:07 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 10 Apr 2014 14:07:05 +0000 (16:07 +0200)
commit38149c472e820e81ac7eed89d6f496adb8857a5e
treeeca4d85e3b06cc709aea5173e542253321da917c
parent27770485f8612bdaae04b090903005941f567495
testgtk: Clean up dialog example

Don't pass a static variable to a callback, when the static variable
could just be deinfed in the callback.
tests/testgtk.c